package lab02.test15;

/**
 * Created by 123 on 2017/10/20.
 */
public class Test15 {
    public static void main(String[] args) {
        Graduate zhangsan = new Graduate();
        zhangsan.fee = 10000;
        zhangsan.pay = 8000;

        if ((zhangsan.getPay() - zhangsan.getFee()) <= 2000) {
            System.out.println("You  need a loan!");
        } else {
            System.out.println("You income is enough！");
        }

    }
}
